Skip to content

feat(sdk): add init_rbac deployment step assigning initial SuperAdmin - #842

Merged
p3ris0n merged 2 commits into
BCPathway:mainfrom
OG-wura:Update_deployment_script
Aug 28, 2026
Merged

feat(sdk): add init_rbac deployment step assigning initial SuperAdmin#842
p3ris0n merged 2 commits into
BCPathway:mainfrom
OG-wura:Update_deployment_script

Conversation

@OG-wura

@OG-wura OG-wura commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Adds grantSuperAdmin/revokeSuperAdmin/hasRole/initRbac to bcForgeClient so deployments can bootstrap RBAC right after initialize: migrate_admin plus a grant_role(SuperAdmin) transaction. Roles are serialized as symbol ScVals for on-chain compatibility (fixes the string encoding used by grantMinter and revokeMinter). Adds mock parity, unit tests, a superAdmin config parameter for the CLI, and deployment documentation.

Closes #760

Adds grantSuperAdmin/revokeSuperAdmin/hasRole/initRbac to bcForgeClient so
deployments can bootstrap RBAC right after initialize: migrate_admin plus a
grant_role(SuperAdmin) transaction. Roles are serialized as symbol ScVals for
on-chain compatibility (fixes the string encoding used by grantMinter and
revokeMinter). Adds mock parity, unit tests, a superAdmin config parameter for
the CLI, and deployment documentation.

Closes BCPathway#760

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@OG-wura Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@p3ris0n
p3ris0n merged commit 62fbad1 into BCPathway:main Aug 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs & Polish] Update deployment script for RBAC init

2 participants